/**
 * jims
 */
package com.jims.master.modules.csm.service;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.csm.dao.ExpPriceLogDao;
import com.jims.master.modules.csm.entity.ExpPriceLog;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 消耗品价格记录Service
 * @author CTQ
 * @version 2017-03-02
 */
@Service
@Transactional(readOnly = true)
public class ExpPriceLogService extends CrudService<ExpPriceLogDao, ExpPriceLog> {

	public ExpPriceLog get(String id) {
		return super.get(id);
	}
	
	public List<ExpPriceLog> findList(ExpPriceLog expPriceLog) {
		return super.findList(expPriceLog);
	}
	
	public Page<ExpPriceLog> findPage(Page<ExpPriceLog> page, ExpPriceLog expPriceLog) {
		return super.findPage(page, expPriceLog);
	}
	
	@Transactional(readOnly = false)
	public int save(ExpPriceLog expPriceLog) {
		return super.save(expPriceLog);
	}
	
	@Transactional(readOnly = false)
	public int delete(ExpPriceLog expPriceLog) {
		return super.delete(expPriceLog);
	}
	
}